﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Csla;
namespace EntGuayasSLA.BL.Listas.Criterias
{
    [Serializable]
    public class DocumentoCriteria: BusinessBase<DocumentoCriteria>
    {
        #region Business Methods
        public static readonly PropertyInfo<string> CatalogoIdProperty = RegisterProperty<string>(c => c.ModuloId);
        public string ModuloId
        {
            get { return GetProperty(CatalogoIdProperty); }
            set { SetProperty(CatalogoIdProperty, value); }
        }
        public static readonly PropertyInfo<string> ModuloProperty = RegisterProperty<string>(c => c.Modulo);
        public string Modulo
        {
            get { return GetProperty(ModuloProperty); }
            set { SetProperty(ModuloProperty, value); }
        }
        public static readonly PropertyInfo<string> ProcesadoProperty = RegisterProperty<string>(c => c.Procesado);
        public string Procesado
        {
            get { return GetProperty(ProcesadoProperty); }
            set { SetProperty(ProcesadoProperty, value); }
        }
       
        #endregion

        #region Factory Methods

        public static DocumentoCriteria NewDocumentoCriteria()
        {
            return DataPortal.Create<DocumentoCriteria>();
        }

        private DocumentoCriteria()
        { /* Require use of factory methods */ }

        #endregion


    }

}
